package itu.dk.bosk.ex7;

import java.io.*;

public class WriterTestProgram {
	
	public static void main(String[] args) throws IOException {
		
		File file = new File("test.txt");
		
		OutputStreamWriter printWriter = new OutputStreamWriter(System.out);
		FileWriter fileWriter = new FileWriter(file);
		
		WriterFork writerFork = new WriterFork(fileWriter,printWriter);
		
		writerFork.write("SUCCCES!");
		
		writerFork.close();	
	}
}
